<?php

$TITLE_ADD .= " - Логи";
$t_BODY = "";

$Log = file($LogFile, FILE_USE_INCLUDE_PATH | FILE_SKIP_EMPTY_LINES);

for ($i = count($Log) - 1; $i >= 0; $i--) {
    $t_BODY .= "
    <font color=\"green\">".strtok($Log[$i], " ")." </font>
    <font color=\"grey\">".strtok(" ")." </font>
    <font color=\"blue\">".strtok(" ")." </font>
    <font color=\"red\">".strtok("\n")."</font>
    <br />";
}

$t_title = "Логи";
$HEADER .=" - ".$t_title;

?>
